$(document).ready(function(){
	
	var ruleName="" ; //
	var hostName= ""; //
	var metricName= "";//
	var triggerFuncName= "";//
	var funcParameter= "";//int 
	var paraUnit= ""  //
	var operator= "";//
	var triggerThreshold= "";//double
	var recoverThreshold= "";//double
	var faultTimes= "";//byte
	
	var str = '{lab1:cpu/node_utilization avg(5 m)}> 1';
	
	
	$('#testBtn').bind('click',function(){
		alert("okokok;")
	});
	

	function htmlToStr(s){
		if (s==null||s.equals("")) return "";
	    s = s.replace("&amp;","&");
	    s = s.replace("&lt;","<");
	    s = s.replace("&gt;",">");
	    s = s.replace("&nbsp;"," ");
	    //s = s.replaceAll("<br/>","\n");
	    //s = s.replaceAll("&#39","'");
	    return s;
	}
	
	
	
	
});

/*$(function() {
    $('#footable-res2').footable().bind('', function(e) {
      
    });
	
});
*/

